package com.version.manager.entity.Shop;

import com.version.manager.annotaion.OrderColumn;
import com.version.manager.annotaion.StatusColumn;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name="shop_car")
@StatusColumn(name = "status")
@OrderColumn(name = "createTime")
public class shopCar {
    @Id
    private String id;
    @Column(name = "user_id")
    private String userId;
    @Column(name = "goods_id")
    private String goodsId;
    @Column(name = "store_id")
    private String storeId;
    @Column(name = "count")
    private Integer count;
    @Column(name = "create_time")
    private String createTime;
    @Column(name = "update_time")
    private String updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Column(name = "status")
    private int status;

    public String getSkuDesc() {
        return skuDesc;
    }

    public void setSkuDesc(String skuDesc) {
        this.skuDesc = skuDesc;
    }

    public String getSkuImage() {
        return skuImage;
    }

    public void setSkuImage(String skuImage) {
        this.skuImage = skuImage;
    }

    @Column(name="sku_desc")
    private String skuDesc;
    @Column(name = "sku_image")
    private String skuImage;

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    @Column(name = "goods_name")
    private String goodsName;

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    private String price;
}
